﻿#region Usings

#endregion

namespace LongNet.Web.Email.MIME.CodeTypes
{
    /// <summary>
    /// Address coder
    /// </summary>
    public class CodeAddress:CodeBase
    {
        #region Constructor
        /// <summary>
        /// Constructor
        /// </summary>
        public CodeAddress()
        {
        }
        #endregion

        #region Protected Overridden Properties
        protected override string[] FoldCharacters
        {
            get
            {
                string []TempArray={",",":"};
                return TempArray;
            }
        }

        protected override bool IsAutoFold
        {
            get
            {
                return true;
            }
        }

        protected override bool DelimeterNeeded
        {
            get
            {
                return true;
            }
        }

        protected override char[] DelimeterCharacters
        {
            get
            {
                char[] TempDelimeterArray = { '(', ')', '<', '>', '"' };
                return TempDelimeterArray;
            }
        }
        #endregion
    }
}